package com.mdl.springmvc.tpg.service.impl;

import com.mdl.springmvc.tpg.dao.TpgBzxmMapper;
import com.mdl.springmvc.tpg.po.TpgBzxm;
import com.mdl.springmvc.tpg.service.TpgBzxmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Desc
 * @Author madengling
 * @Time 2020/10/29 10:38
 */
@Service
public class TpgBzxmServiceImpl implements TpgBzxmService {
    @Autowired(required=false)
    private TpgBzxmMapper bzxmMapper;

    @Override
    public void insertTpgBzxm(List<TpgBzxm> bzxms) {
        for(TpgBzxm bzxm: bzxms){
            bzxmMapper.insert(bzxm);
        }
    }
}
